﻿angular.module('picShare').controller('loginController', function ($scope, loginSvc) {

    $scope.loginUser = function () {
        var userName = $scope.logUsername;
        var password = $scope.logPassword;
        loginSvc.logUser(userName, password);
    };
});